MailPoet\WooCommerce\Subscription S

Total Complexity 24
Dependencies 13
Dependents 4
Total lines 172
Lines of code 121
Logical lines of code 57
Comment lines 10
Methods 9
Properties 6

Methods 9

Method Rating Maintainability Complexity Lines of code
subscribeOnCheckout()
A
46 8 39
extendWooCommerceCheckoutForm()
S
57 3 19
isCurrentUserSubscribed()
S
61 3 12
subscribe()
S
66 3 8
getSubscriptionField()
S
61 2 12
updateSubscriberStatus()
S
65 2 9
__construct()
S
67 1 8
printSubscriptionPresenceCheckField()
S
67 1 9
requireSubscriptionConfirmation()
S
74 1 5